<!DOCTYPE html>
<html class="root platform-win" lang="zh"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta charset="UTF-8">
  <title>作品设置 - 作者中心 | 火星小说</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="http://author.hotread.com/favicon.ico" rel="shortcut icon">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <link rel="stylesheet" href="/css/normalize.css">
  <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/works.css">
</head>
<body>
  <header class="header">
  <div class="container">
    <a class="slogan" href="/">
      <img src="/image/slogan.png" alt="">
    </a>
    <span class="user">
      <a href="{{url('auth/logout')}}">退出登陆</a>
    </span>
  </div>
</header>
  <div class="container">
    <div class="nav">
  <h4>作者中心</h4>
  <ul>
    <li class="item active"><a href="{{url('work')}}">作品列表</a></li>
     <li class="item"><a href="{{url('subscribe')}}">订阅收入</a></li>
     <li class="item"><a href="{{url('reward')}}">打赏收入</a></li>
     <li class="item"><a href="{{url('comments')}}">评论管理</a></li>
     <li class="item"><a href="{{url('authorset')}}">个人设置</a></li>
  </ul>
</div>



<form action="" method="post" enctype="multipart/form-data">
{!! csrf_field() !!}
  <div class="right-header-haveback">
    <p class="hint wryh-font">
      <a href="{{url('work')}}" class="back">作品列表</a>
      <span class="back">{{$novel->title}}</span>
      <span>写新章节</span>
    </p>
  </div>
  <div class="main-nav">
    <a href="{{url('chapteradd' , $nid)}}">写新章节</a>
    <a href="{{url('draft' , $nid)}}">草稿箱</a>
    <a href="{{url('published' , $nid)}}">已发布章节</a>
    <a href="{{url('novelset' , $nid)}}"  class="active">作品设置</a>
  </div>
  <div class="production-main">
    <div class="cover-box">
      <div class="cover">
        <img id="preview" src="{{$novel->cover_img}}">
        <span class="uploading-btn" style="overflow: hidden;">
          点击上传
          <iframe style="display: none;" name="uploadAvatar"></iframe>
          <form id="uploadForm" action="" method="post" target="uploadAvatar" enctype="multipart/form-data" enctype="multipart/form-data">
            <input style="position: absolute;top: 0;right: 0;font-size: 100px;opacity: 0;" name="cover_img" accept=".jpg,.jpeg,.png,.gif" type="file" multiple="multiple" >
          </form>
        </span>
      </div>
      <span class="msg">封面尺寸为450*590<br>格式为jpg、png、bmp</span>
    </div>
    <div class="production-info">
      <div class="pro-name">
        <div class="label">作品名称</div>
        <div class="info-right">
          <span class="bookname"></span>
          <input type="text" name="name" value="{{$novel->title}}">
        </div>
      </div>
 
      <div class="pro-number">
        <div class="label">作品编号</div>
        <div class="info-right">
          <span class="number">{{$novel->nid}}</span>
          <i class="hint">（系统默认分配，无法修改）</i>
        </div>
      </div>
    
      <div class="pro-chan">
        <div class="label">作品频道</div>
        <div class="info-right">
          <ul class="charge-list">
        <input type="radio" name="gender" value="1"  checked /> 男生频道
        <input type="radio" name="gender" value="0" /> 女生频道

      </ul>
      
        </div>
      </div>
      <div class="pro-type">
        <div class="label">作品分类</div>
        <div class="info-right">
          <span class="type"></span>
        <ul class="charge-list">
        <input type="radio" name="type" value="现代都市" /> 现代都市
        <input type="radio" name="type" value="悬疑灵异" /> 悬疑灵异
        <input type="radio" name="type" value="玄幻仙侠" /> 玄幻仙侠
        <input type="radio" name="type" value="历史军事" /> 历史军事
      </ul>
        </div>
      </div>
      
      <div class="pro-type">
        <div class="label">是否推荐</div>
        <div class="info-right">
          <span class="type"></span>
        <ul class="charge-list">
        <input type="radio" name="status" value="1" /> 不推荐
        <input type="radio" name="status" value="0" /> 推荐

      </ul>
        </div>

        </div>
    
      <div class="pro-intro">
        <div class="label">作品简介</div>
        <div class="info-right">
          <div class="info-box all-input-box has-value" data-placeholder="请输入作品简介">
            <textarea class="fl" maxlength="500" name="content">{{$novel->desc}}</textarea>
          </div>
          <span class="num-hint fl">字数需控制在20至500字之间</span>
          <span class="new-num fr">当前字数：20</span>
        </div>
      </div>

      <div class="pro-btn">
        <div class="label">&nbsp;</div>
        <input type="submit" value="提交">
      </div>
   
    </div>
  </div>
</form>
<script src="/js/vue.js"></script>

<script src="/js/vue-resource.js"></script>

</div>
</body></html>
